<!--  -->
<template>
  <div>
    <h2>处理学生突发事件</h2>
    <el-table :data="form.kpiFillingStuEmergencyList" border>
      <el-table-column label="序号" type="index" width="50" align="center">
      </el-table-column>
      <el-table-column label="事件描述" align="center" prop="eventDescription" />
      <el-table-column label="开始时间" align="center" prop="startTime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.startTime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="结束事件" align="center" prop="endTime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.endTime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="事件等级" align="center" prop="eventLevel">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.sys_stu_emergency" :value="scope.row.eventLevel" />
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  dicts: ['sys_stu_emergency'],
  props: {
    form: {
      type: Object,
      default: []
    }
  },
  data () {
    return {

    }
  },
  methods: {

  },
  // 生命周期 - 创建完成（访问当前this实例）
  created () {

  },
  // 生命周期 - 挂载完成（访问DOM元素）
  mounted () {

  },
  // 离开当前页面时执行代码
  destroyed () {

  }
}
</script>
<style scoped>
/* @import url(); 引入css类 */

</style>
